"""
2024分享会
author: 邢不行
微信: xbx6660
"""
import logging
import Tools.rotation_simulator.Config as Cfg
import dash
from Tools.rotation_simulator.Simulator import Simulator

if __name__ == '__main__':
    print('请点击下面的地址打开模拟器：')
    app = dash.Dash(__name__, suppress_callback_exceptions=True)

    werkzeug_logger = logging.getLogger('werkzeug')
    werkzeug_logger.setLevel(logging.CRITICAL)
    werkzeug_logger.propagate = False  # 防止日志向上级传播

    root = Simulator(root=app, Cfg=Cfg)
    root.run()